package com.xucia.auth.test;

import org.testng.annotations.Test;

import com.xucia.jsponic.remote.StandardJsponServlet;

public class JavaScriptCompression {
	@Test()
	public void testCompression() {
		String source = "function(param1) {\nvar myVariable1 = 34;\n alert('this is a test' + myVariable1 + param1);\n }";
		System.err.println(StandardJsponServlet.functionCompression(source));
	}
}
